package com.designpattern.sixchapter.first;

public class SimpleRemoteControl {
	
	Command slot;
	
	public SimpleRemoteControl() {
		
	}
	public void setCommand(Command command) {
		slot = command;
	}
	
	public void btnWasPressed() {
		slot.execute();
	}

}
